package com.think.archive.mapper;

import com.think.archive.model.SysSecret;
import com.think.archive.model.SysSecretExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysSecretMapper {
    long countByExample(SysSecretExample example);

    int deleteByExample(SysSecretExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysSecret record);

    int insertSelective(SysSecret record);

    List<SysSecret> selectByExample(SysSecretExample example);

    SysSecret selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysSecret record, @Param("example") SysSecretExample example);

    int updateByExample(@Param("record") SysSecret record, @Param("example") SysSecretExample example);

    int updateByPrimaryKeySelective(SysSecret record);

    int updateByPrimaryKey(SysSecret record);

    SysSecret selectByAppKey(String appKey);
}